package com.app.newcsc.entity;

/**
 * @author: woking
 * @date: 2021/6/21
 * @description：
 */
public class FinanceOrderAllEntity
{
//        "id": 5886890,
//        "user_id": 1919349,
//        "coin_id": 3,
//        "p_id": 5,
//        "cycle": 10,
//        "status": 1,
//        "quantity": 1,
//        "price": "1000.00",
//        "amount": "1000.000000",
//        "lease_days": 48,
//        "income_days": 48,
//        "receive_days": 0,
//        "add_lease_days": 0,
//        "acc_income": "0.000000",
//        "profit_ratio": "28.50",
//        "expiration_time": "08-07 23:59:59",
//        "active_value": 100,
//        "updatetime": 1624260947,
//        "createtime": "06-21 15:35:47",
//        "note": "",
//        "condition": 1,
//        "is_dec_value": 0,
//        "is_subsidy": 0,
//        "type": 0,
//        "days_ratio": "2.68",
//        "all_release_amount": "1285.00"

//==============运行中  已结束================
    public long id;
    public long user_id;
    public int coin_id;
    public int p_id;
    public int cycle;
    public int status;
    public int quantity;
    public String price;
    public String amount;
    public int lease_days;
    public int income_days;
    public int receive_days;
    public int add_lease_days;
    public String acc_income;
    public String profit_ratio;
    public String expiration_time;
    public double active_value;
    public long updatetime;
    public String createtime;
    public String note;
    public int condition;
    public double is_dec_value;
    public int is_subsidy;
    public int type;
    public String days_ratio;
    public String all_release_amount;


    public Product product;
    public static class Product
    {
        public FinanceOrderEntity data;
    }


    public static class FinanceOrderEntity
    {
        //             "id": 5,
//            "title": "四级米仓",
//            "pic": "/8657c9220f288f1cd43f812f57f63cfd.png",
//            "coin_id": 3,
//            "status": 1,
//            "price": "1000.00",
//            "lease_days": 48,
//            "profit_ratio": 28.5,
//            "max_num": 1,
//            "is_buy": 1,
//            "active_value": 100,
//            "createtime": "2020-08-29",
//            "all_release_amount": "1330.00",
//            "days_release_amount": "0.00",
//            "coin_name": "AD",
//            "progress": "0/1"

        public int id;//": 5,
        public String title;//": "四级米仓",
        public String pic;//": "/8657c9220f288f1cd43f812f57f63cfd.png",
        public int coin_id;//": 3,
        public int status;//": 1,
        public String price;//": "1000.00",
        public int lease_days;//": 48,
        public double profit_ratio;//": 28.5,
        public int max_num;//": 1,
        public int is_buy;//": 1,
        public double active_value;//": 100,
        public String createtime;//": "2020-08-29",
        public String all_release_amount;//": "1330.00",
        public String days_release_amount;//": "0.00",
        public String coin_name;//": "AD",
//        public String progress;//": "0/1"
    }


//             "id": 5,
//            "title": "四级米仓",
//            "pic": "/8657c9220f288f1cd43f812f57f63cfd.png",
//            "coin_id": 3,
//            "status": 1,
//            "price": "1000.00",
//            "lease_days": 48,
//            "profit_ratio": 28.5,
//            "max_num": 1,
//            "is_buy": 1,
//            "active_value": 100,
//            "createtime": "2020-08-29",
//            "all_release_amount": "1330.00",
//            "days_release_amount": "0.00",
//            "coin_name": "AD",
//            "progress": "0/1"

//    public int id;//": 5,
    public String title;//": "四级米仓",
    public String pic;//": "/8657c9220f288f1cd43f812f57f63cfd.png",
//    public int coin_id;//": 3,
//    public int status;//": 1,
//    public String price;//": "1000.00",
//    public int lease_days;//": 48,
//    public double profit_ratio;//": 28.5,
    public int max_num;//": 1,
    public int is_buy;//": 1,
//    public int active_value;//": 100,
//    public String createtime;//": "2020-08-29",
//    public String all_release_amount;//": "1330.00",
    public String days_release_amount;//": "0.00",
    public String coin_name;//": "AD",
    public int progress;//": "0/1"

}
